package com.moonkin;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * 服务注册中心入口类
 * @author xuduo
 * @version 1.0
 * @since 2018-03-19
 */
@SpringBootApplication
@EnableEurekaServer
public class ServiceEurekaApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder(ServiceEurekaApplication.class).web(WebApplicationType.SERVLET).run(args);
    }
}
